home *** CD-ROM | disk | FTP | other *** search
- /*
- * (c) Copyright 1989, 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC.
- * ALL RIGHTS RESERVED
- */
- /*
- * Motif Release 1.2.2
- */
- /* $RCSfile: DrawP.h,v $ $Revision: 10.1 $ $Date: 1994/02/03 15:37:36 $ */
- /*
- * (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
- /*
- * (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
- #ifndef _XmDrawP_h
- #define _XmDrawP_h
-
- #include <Xm/XmP.h>
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
-
- /******** Private Function Declarations ********/
- #ifdef _NO_PROTO
-
- extern void _XmDrawShadows() ;
- extern void _XmClearBorder() ;
- extern void _XmDrawSeparator() ;
- extern void _XmDrawDiamond() ;
- extern void _XmDrawHighlight() ;
- extern void _XmDrawSimpleHighlight() ;
- extern void _XmDrawArrow() ;
-
- #else
-
- extern void _XmDrawShadows(
- Display *display,
- Drawable d,
- GC top_gc,
- GC bottom_gc,
- #if NeedWidePrototypes
- int x,
- int y,
- int width,
- int height,
- int shad_thick,
- #else
- Position x,
- Position y,
- Dimension width,
- Dimension height,
- Dimension shad_thick,
- #endif /* NeedWidePrototypes */
- unsigned int shad_type) ;
- extern void _XmClearBorder(
- Display *display,
- Window w,
- #if NeedWidePrototypes
- int x,
- int y,
- int width,
- int height,
- int shadow_thick) ;
- #else
- Position x,
- Position y,
- Dimension width,
- Dimension height,
- Dimension shadow_thick) ;
- #endif /* NeedWidePrototypes */
- extern void _XmDrawSeparator(
- Display *display,
- Drawable d,
- GC top_gc,
- GC bottom_gc,
- GC separator_gc,
- #if NeedWidePrototypes
- int x,
- int y,
- int width,
- int height,
- int shadow_thick,
- int margin,
- unsigned int orientation,
- unsigned int separator_type) ;
- #else
- Position x,
- Position y,
- Dimension width,
- Dimension height,
- Dimension shadow_thick,
- Dimension margin,
- unsigned char orientation,
- unsigned char separator_type) ;
- #endif /* NeedWidePrototypes */
- extern void _XmDrawDiamond(
- Display *display,
- Drawable d,
- GC top_gc,
- GC bottom_gc,
- GC center_gc,
- #if NeedWidePrototypes
- int x,
- int y,
- int width,
- int height,
- int shadow_thick,
- int fill) ;
- #else
- Position x,
- Position y,
- Dimension width,
- Dimension height,
- Dimension shadow_thick,
- Dimension fill) ;
- #endif /* NeedWidePrototypes */
-
- extern void _XmDrawSimpleHighlight(
- Display *display,
- Drawable d,
- GC gc,
- #if NeedWidePrototypes
- int x,
- int y,
- int width,
- int height,
- int highlight_thick);
- #else
- Position x,
- Position y,
- Dimension width,
- Dimension height,
- Dimension highlight_thick);
- #endif /* NeedWidePrototypes */
- extern void _XmDrawHighlight(
- Display *display,
- Drawable d,
- GC gc,
- #if NeedWidePrototypes
- int x,
- int y,
- int width,
- int height,
- int highlight_thick,
- #else
- Position x,
- Position y,
- Dimension width,
- Dimension height,
- Dimension highlight_thick,
- #endif /* NeedWidePrototypes */
- int line_style) ;
- extern void _XmDrawArrow(
- Display *display,
- Drawable d,
- GC top_gc,
- GC bot_gc,
- GC cent_gc,
- #if NeedWidePrototypes
- int x,
- int y,
- int width,
- int height,
- int shadow_thick,
- unsigned int direction) ;
- #else
- Position x,
- Position y,
- Dimension width,
- Dimension height,
- Dimension shadow_thick,
- unsigned char direction) ;
- #endif /* NeedWidePrototypes */
-
- #endif /* _NO_PROTO */
- /******** End Private Function Declarations ********/
-
- #ifdef WINTIF
- #ifdef _NO_PROTO
- extern void _WXmDrawDashedBorder ();
- extern void _WXmDrawArrow ();
- extern void _WXmDrawToggle ();
- #else
- extern void _WXmDrawDashedBorder(Display * display,
- Drawable d,
- GC gc,
- #if NeedWidePrototypes
- int x,
- int y,
- int width,
- int height);
- #else
- Position x,
- Position y,
- Dimension width,
- Dimension height);
- #endif /* NeedWidePrototypes */
-
- extern void _WXmDrawArrow(Display *display, Drawable d,
- GC gc,
- #if NeedWidePrototypes
- int x, int y,
- int width, int height,
- unsigned int direction);
- #else
- Position x, Position y,
- Dimension width, Dimension height,
- unsigned char direction);
- #endif /* NeedWidePrototypes */
-
- extern void _WXmDrawToggle(Display *display, Drawable d,
- GC outer_gc, GC center_gc,
- #if NeedWidePrototypes
- int x, int y,
- int length,
- int shadow_thick,
- #else
- Position x, Position y,
- Dimension length,
- Dimension shadow_thick,
- #endif /* NeedWidePrototypes */
- Pixmap pixmap);
-
- #endif /* _NO_PROTO */
-
- #define WXM_MIN_INDICATOR_SIZE 13
-
- #endif /* WINTIF */
-
-
- #if defined(__cplusplus) || defined(c_plusplus)
- } /* Close scope of 'extern "C"' declaration which encloses file. */
- #endif
-
- #endif /* _XmDrawP_h */
-